Skip to content

[Host.Sql] and [Host.PostgreSql] Add SQL Server and PostgreSQL transports#478

Merged
zarusz merged 1 commit into
masterfrom
feature/sql-postgresql-transports
Jul 5, 2026
Merged

[Host.Sql] and [Host.PostgreSql] Add SQL Server and PostgreSQL transports#478
zarusz merged 1 commit into
masterfrom
feature/sql-postgresql-transports

Conversation

@zarusz

@zarusz zarusz commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

Adds relational database transports for SQL Server and PostgreSQL.

At a high level this PR:

  • turns SlimMessageBus.Host.Sql into a working SQL Server transport provider
  • adds a new SlimMessageBus.Host.PostgreSql transport provider
  • implements queue and durable topic/subscription flows backed by relational tables
  • adds sequential/client GUID id generation options for PK-friendly message IDs
  • adds provider-style configuration extensions matching the existing transport plugins
  • adds topology provisioning, polling consumers, error handling, and repository layers
  • adds real-container integration tests for SQL Server and PostgreSQL
  • adds relational transport BenchmarkDotNet benchmarks
  • updates docs, solution wiring, CI matrix entries, and packaging scripts

Validation

  • dotnet test src\Tests\SlimMessageBus.Host.Sql.Test\SlimMessageBus.Host.Sql.Test.csproj -v minimal
  • dotnet test src\Tests\SlimMessageBus.Host.PostgreSql.Test\SlimMessageBus.Host.PostgreSql.Test.csproj -v minimal
  • git diff --check

Both provider integration suites pass against real Testcontainers databases.

@zarusz zarusz force-pushed the feature/sql-postgresql-transports branch 2 times, most recently from cf516e5 to 220ef24 Compare June 30, 2026 11:38
Repository owner deleted a comment from sonarqubecloud Bot Jul 2, 2026
@zarusz zarusz changed the title Add SQL Server and PostgreSQL transports [Host.Sql] and [Host.PostgreSql] Add SQL Server and PostgreSQL transports Jul 3, 2026
@zarusz zarusz added this to the 3.5.0 milestone Jul 3, 2026
Repository owner deleted a comment from sonarqubecloud Bot Jul 3, 2026
Signed-off-by: Tomasz Maruszak <maruszaktomasz@gmail.com>
@zarusz zarusz force-pushed the feature/sql-postgresql-transports branch from f2bafb7 to cc180de Compare July 5, 2026 20:02
@zarusz zarusz self-assigned this Jul 5, 2026
Repository owner deleted a comment from sonarqubecloud Bot Jul 5, 2026
@zarusz zarusz merged commit 09a2dce into master Jul 5, 2026
42 of 43 checks passed
@zarusz zarusz deleted the feature/sql-postgresql-transports branch July 5, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant